package com.woniuxy.service;

import com.woniuxy.pojo.Cart;
import com.woniuxy.pojo.Order;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/3/28 1:41
 * @Description TODO
 */
public interface OrderService {

    public List<Cart> findShopCartByStatus(int uid);

    public int writeOrderData(int uid, int addressId, String paytype, BigDecimal allPrice);

    public Order findNoAndMoneyAndPaltypeByOrderId(int id, int userid);

    public List<Order> findAll(int uid);

    public List<Order> findFiveByDate(int uid);

    public Order findOrderDetail(int id, int userid);

    public void deleteOrder(String orderno);
}
